package com.fangfei.runtest.Config;

public enum TestEnum {
    MAXSIZE("maxsize",20000),
    ALIVETIME("keepalivetime",60),
    CORESIZE("coresize",1); //线程数

    //防止字段值被修改，增加的字段也统一final表示常量
    private final String key;
    private final int value;

    private TestEnum(String key,int value){
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }
    public int getValue() {
        return value;
    }
}
